package com.wfh.rpc.fault.retry;

import com.wfh.rpc.model.RpcResponse;

import java.util.concurrent.Callable;

/**
 * @Title: NoRetryStrategy
 * @Author wangfenghuan
 * @Package com.wfh.rpc.fault.retry
 * @Date 2025/10/17 08:27
 * @description: 不重试策略
 */
public class NoRetryStrategy implements RetryStrategy{
    @Override
    public RpcResponse dRetry(Callable<RpcResponse> callable) throws Exception {
        return callable.call();
    }
}
